﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace ChinaClipping.ClippingMaster.Editor
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (args.Length == 4)
            {
                Application.Run(new ClippingEditor(args[0],args[1],args[2],args[3]));
            }
			else if (args.Length == 1)
			{
				Application.Run(new ClippingEditor(null, null, null, args[0]));

			}
			else
				Application.Run(new ClippingEditor());
        }
    }
}
